#ifndef IMPORTDEFSDIALOG_H
#define IMPORTDEFSDIALOG_H

#include <QDialog>
#include <QMessageBox>
#include <QFile>
#include <QFileDialog>
#include <QDir>
#include <QPushButton>
#include <QByteArray>
#include "ui_importdefsdialog.h"

class ImportDefsDialog: public QDialog, private Ui::ImportDefsDialog
{
Q_OBJECT

public:

ImportDefsDialog();
~ImportDefsDialog();
QString return_selection();

public slots:

void file_name();
void save_empty();

private:

QString file_path;
bool write_byte_array( const QString & file_name,
                       const QByteArray & ba );

protected:

};

#endif // IMPORTDEFSDIALOG_H
